<?php
class Model extends Model {
	public function get($id) {
		$query = $this->db->query("SELECT DISTINCT * FROM `" . DB_PREFIX . "` WHERE id = '" . (int)$id . "'");
	
		return $query->row;
	}
	
	public function gets() {
		$query = $this->db->query("SELECT * FROM `" . DB_PREFIX . "` ");
		
		return $query->rows;
	}	
}
?>